import request from '@/utils/request'

export function listFightGroup(query) {
  return request({
    url: '/api/adminBiz/fightGroup/category/list',
    method: 'post',
    params: query
  })
}

export function addFightGroup(query) {
  return request({
    url: '/api/adminBiz/fightGroup/category/add',
    method: 'post',
    data: query
  })
}

export function deleteFightGroup(query) {
  return request({
    url: '/api/adminBiz/fightGroup/category/delete',
    method: 'post',
    data: query
  })
}

export function updateFightGroup(query) {
  return request({
    url: '/api/adminBiz/fightGroup/category/update',
    method: 'post',
    data: query
  })
}

